<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <!--<link rel="stylesheet" type="text/css" href="/Public/static/css/style.css">-->
    <script src="/application/home/view/test/jquery.min.js"></script>
    <script>
        $(function () {
            var user_name = $("input[name='user_name']").val();
            var user_password = $("input[name='user_password']").val();
            var repassword = $("input[name='repassword']").val();

            $.post("<?php echo U('User/yanz');?>",{user_name:user_name,user_password:user_password,repassword:repassword},function (data) {
                alert(data.b);
            })
        })
    </script>
</head>
<body>





<form action="<?php echo U('User/yanz');?>" METHOD="post">
    <p>
        用户名
        <input type="text" name="user_name">

    </p>
    <p>
        密码
        <input type="text" name="user_password">
    </p>
    <p>
        确认密码
        <input type="text" name="repassword">
    </p>
    <!--验证码-->
    <!--<input type="text" name="user_code">-->
    <!--<img src="<?php echo U('Test/code');?>"/>-->
    <input type="submit" value="提交" >

</form>






</body>
</html>